home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: FW_CTextBoxShape
- Sent: 9/9/96 2:08 PM
- Received: 9/9/96 2:08 PM
- From: Brad Pettit <bpettit@apple.com>
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- It sounds like you want the behavior of FW_CTextBoxShape::RenderTextBox()
- instead of FW_CTextBoxShape::RenderText(). Think of RenderText as the
- equivalent of a Quickdraw DrawString().
-
- --Brad
-
- >>
- >> >I have noticed that when FW_CTextBoxShape::RenderText() draws text which
- >> >contains a return character (\r), it skips the character. So the drawn text
- >> >does not start a new line.
- >> >
- >> >It seems to me that it ought to recognize it. Can that be fixed for the
- >> >next release, I need it!
- >>
- >> Are you talking about FW_CTextBoxShape::RenderTextBox(), or
- >> FW_CTextShape::RenderText()? The first one does recognize CR and LF
- >> characters. (I tested this by pasting characters including a CR into ODF
- >> Hello part.)
- >>
- >> Mary Boetcher
- >> ODF Person
- >>
- >
- > Hello part does not work this way for me. For example, if I type
- > these three lines into SimpleText:
- >
- > Line1
- > Line2
- > Line3
- >
- > then drag&drop (or Cut&Paste) them into Hello part I see this in response:
- >
- > Line1Line2Line3
- >
- > I am using the latest Hello part from DR5. I have tried it with the editor
- > supplied on the CD and using one I compiled and built myself.
- >
- > Why the difference between what Mary is seeing and what I'm seeing?
- >
- > I need for this to work, as Mary describes.
- >
- >Thanks.
- >
- >--
- >
- >--BobC
- >
- > Bob Carpenter
- > Boeing Commercial Airplanes
- > bob.carpenter@boeing.com
- >